package com.gpt.article.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章生成对象 gpt_gen_article
 * 
 * @author zhuzi
 * @date 2023-10-24
 */
public class GptGenArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章ID */
    private Long id;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String title;

    /** 内容id */
    private Long contentId;

    /** 文章唯一编码 */
    private String urlMd5;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 采集文章的id */
    private Long genArticleId;

    /** 采集文章的标题 */
    private String genArticleTitle;

    private String artContent;

    private Long[] ids;

    /** 生成文章内容信息 */
    private List<GptGenArticleContent> gptGenArticleContentList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContentId(Long contentId) 
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }
    public void setUrlMd5(String urlMd5) 
    {
        this.urlMd5 = urlMd5;
    }

    public String getUrlMd5() 
    {
        return urlMd5;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setGenArticleId(Long genArticleId) 
    {
        this.genArticleId = genArticleId;
    }

    public Long getGenArticleId() 
    {
        return genArticleId;
    }
    public void setGenArticleTitle(String genArticleTitle) 
    {
        this.genArticleTitle = genArticleTitle;
    }

    public String getGenArticleTitle() 
    {
        return genArticleTitle;
    }

    public List<GptGenArticleContent> getGptGenArticleContentList()
    {
        return gptGenArticleContentList;
    }

    public void setGptGenArticleContentList(List<GptGenArticleContent> gptGenArticleContentList)
    {
        this.gptGenArticleContentList = gptGenArticleContentList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("contentId", getContentId())
            .append("urlMd5", getUrlMd5())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .append("genArticleId", getGenArticleId())
            .append("genArticleTitle", getGenArticleTitle())
            .append("gptGenArticleContentList", getGptGenArticleContentList())
            .toString();
    }

    public String getArtContent() {
        return artContent;
    }

    public void setArtContent(String artContent) {
        this.artContent = artContent;
    }

    public Long[] getIds() {
        return ids;
    }

    public void setIds(Long[] ids) {
        this.ids = ids;
    }
}
